import Vue from 'vue'
import VueRouter from 'vue-router'

import Index from '../views/index.vue'
import CustomerCase from "../views/CustomerCase";
const aboutUs = () => import('../views/aboutUs.vue')
const TrainingProgram = () => import('../views/TrainingProgram')

Vue.use(VueRouter)

const routes = [
  {
    path: '',
    redirect: '/index'
  },
  {
    path: '/index',
    component: Index
  },
  {
    path: "/customer_case",
    component: CustomerCase
  },
  {
    path: "/about",
    component: aboutUs
  },
  {
    path: "/train",
    component:TrainingProgram
  }
]

const router = new VueRouter({
  routes
})

export default router
